package com.feather.common.db;

import java.sql.PreparedStatement;
import java.sql.SQLException;

import com.feather.common.data.Column;

/**
 * @author flogyin
 */
public interface DbSaver {
	@SuppressWarnings("rawtypes")
	Class getJavaType();

	String getDbType();

	int getSqlType();

	boolean matchNull();

	boolean save(Object value, PreparedStatement statement, Column column) throws SQLException;
}
